package com.huawei.appgallery.forum.section.view.widget;

import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemSelectedListener;
import com.huawei.appgallery.forum.base.card.bean.Options.OptionItem;
import com.huawei.appgallery.forum.base.https.jgw.JGWTabInfo;
import o.bqx;
import o.evr;

class SectionDetailSubHead$2 implements OnItemSelectedListener {
    final /* synthetic */ SectionDetailSubHead ॱ;

    SectionDetailSubHead$2(SectionDetailSubHead sectionDetailSubHead) {
        this.ॱ = sectionDetailSubHead;
    }

    public void onItemSelected(AdapterView<?> adapterView, View view, int i, long j) {
        evr.ˊ().ᐝ();
        if (this.ॱ.ˏ) {
            bqx.ˊ("SectionDetailSubHead", "spinner initialization click");
        } else if (SectionDetailSubHead.ॱ(this.ॱ) != null) {
            JGWTabInfo jGWTabInfo = (JGWTabInfo) this.ॱ.ˊ.get(SectionDetailSubHead.ˋ(this.ॱ));
            if (jGWTabInfo != null) {
                SectionDetailSubHead.ˏ(this.ॱ, i);
                SectionDetailSubHead.ॱ(this.ॱ).ॱ(jGWTabInfo.ʼ(), ((OptionItem) jGWTabInfo.ˊ().ˎ().get(i)).ˏ());
            }
        }
    }

    public void onNothingSelected(AdapterView<?> adapterView) {
    }
}
